package com.city.hello_education.easyExcle;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * User: Cheng
 * Date: 2020/6/17
 * Time: 20:55
 * Description: No Description
 */
@Data
public class DemoData {

    //设置表头名称
    //EasyExcel逛网写着只支持驼峰,第二个字母不能使用驼峰
    @ExcelProperty(value = "学生编号",index = 0)
    private Integer sno;
    @ExcelProperty(value = "学生姓名",index = 1 )
    private String sname;
}
